package com.jddup.program.comparator.mysql;

import com.jddup.common.pojo.TableColumn;
import com.jddup.common.pojo.TableMeta;
import com.jddup.program.comparator.CreateDDLBuilder;
import org.apache.commons.lang3.StringUtils;

import java.util.List;

/**
 * Created by zhangzhenbin on 17-12-11.
 */
public class MysqlCreateDDLBuilderImpl implements MysqlColumnSqlBuilder, CreateDDLBuilder {
    private static final String MYSQL_CREATE_TABLE_SQL =
            "CREATE TABLE `{tableName}` ( {columns} ) comment '{tableComment}';";

    @Override
    public String getTemplateSQL() {
        return MYSQL_CREATE_TABLE_SQL;
    }


    @Override
    public String getQuote() {
        return "`";
    }
}
